body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

a{
  text-decoration: none;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.close {
  color: #aaa;
  font-weight: bold;
  cursor: pointer;
  &:hover {
    color: #f55;
  }
}

.hide {
  display: none!important;
}


header {
  height: 100px;
  background-color: #eee;
  padding: 1px;
  text-align: center;
}

.container {
  min-height: 300px;
  // border: 1px solid red;

  margin-left: 200px;
  box-sizing: border-box;

  > .main, >.menu{
    float: left;
    display: block;
    box-sizing: border-box;
  }

  > .main {
    // border: 1px solid blue;
    min-height: 200px;
    width: 100%;
    padding-left: 25px;
    padding-top: 10px;
  }
  .imgList {
    margin-top: 20px;

    li {
      display: inline-block;
      width: 200px;
      height: 150px;
      position: relative;
      border: 1px solid #aaa;
      border-radius: 3px;
      padding: 12px;
      float: left;
      margin: 0 10px 10px 0;
    }
    img {
      max-width: 100%;
      max-height: 100%;
    }
    a.close {
      position: absolute;
      top: -5px;
      right: 1px;
    }
  }

  > .menu {
    // min-height: 200px;

    border: 1px solid #999;
    border-radius: 5px;
    position: relative;
    top: 0;
    width: 200px;
    left: -200px;
    margin-left: -100%;

    li{
      height: 50px;
      line-height: 50px;
      border-bottom: 1px solid #999;
    }
    li:last-child {
      border-bottom: none;
    }
    li.active > a.item {
      color: #5f5;
    }

    a.item {
      display: inline-block;
      padding-left: 35px;
      color: #aaa;
      cursor: pointer;
    }
    a.close {
      float: right;
      margin-right: 20px;
    }
  }
}

#createAlbumModal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .2);
  transition: display 1s;

  .modal-container {
    width: 300px;
    height: 200px;
    border: 1px solid #999;
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -150px;
    margin-top: -100px;
    background-color: #fff;
    border-radius: 10px;
    padding: 50px;
  }
  a.close {
    position: absolute;
    top: 0px;
    right: 5px;
  }
  .body {
    margin: 20px 0;
    input {
      height: 30px;
      border-radius: 5px;
      border: 1px solid #aaa;
      width: 100%;
    }
  }


  button {
    display: block;
    background-color: #1aa;
    margin: 0 auto;
  }
}

#selectFile {
  display: none;
}
button {
  padding: 3px 5px;
  color: #fff;
  border: 1px solid rgba(128, 128, 128, .5);
  border-radius: 5px;
  cursor: pointer;
}
#createAlbum {
  background-color: #55f;
}
#uploadImg {
  background-color: #5f5;
}
